package com.vegetable.modules.entity.finance.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.vegetable.modules.entity.baseData.po.BaseQueryPO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * <p>
 * 客户回款预警记录查询参数
 * </p>
 *
 * @author vegetable
 * @since 2025-10-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "CustomerCollectionAlertRecordQueryPO", description = "客户回款预警记录查询参数")
public class CustomerCollectionAlertRecordQueryPO extends BaseQueryPO {

    @ApiModelProperty(value = "客户ID")
    private Long customerId;

    @ApiModelProperty(value = "客户名称")
    private String customerName;

    @ApiModelProperty(value = "订单编号")
    private String docNo;

    @ApiModelProperty(value = "预警状态：0未处理1已处理2已忽略3已回款")
    private Integer alertStatus;

    @ApiModelProperty(value = "预警级别：1轻微2严重3紧急")
    private Integer alertLevel;

    @ApiModelProperty(value = "逾期等级：1-15天以内，2-15-29天，3-30-59天，4-60-89天，5-90天以上")
    private Integer overdueLevel;

    @ApiModelProperty(value = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date endTime;

    @ApiModelProperty(value = "台账标识 0寿光 1河北 2聊城 3云南")
    private Integer regionId;
}
